<include file="public@header" />
<link href="__STATIC__/css/admin_index.css" rel="stylesheet" type="text/css">
</head>
<body>
    <div class="content">
        <div class="content_title">
            实时统计
        </div>
		 <div class="statistics basic">
            <div class="title">待办事项</div>
            <div class="bd" style="padding-left: 5px;">
				<style>
					.stay li{
						border: 1px solid rgb(204 204 204 / 25%);
						padding: 5px 15px;
						border-radius: 28px;
						height: 38px;
						font-size: 14px;
						margin-right: 30px;
						margin-top: 5px;
						margin-bottom: 15px;
						float: left;
						background-color: rgb(204 204 204 / 25%);
						color: rgb(0 0 0 / 84%);
						
					}
					.stay li span{
						color: #00d0a9;
						font-size: 16px;
					}
				
				</style>
			
				<ul class="stay clear">
				
					<a href="{:url('auth/index')}"><li>用户认证待审核数量( <span>{$stayinfo['auth_count']}</span> )</li></a>

					
					<li class="hide"></li>
				
				</ul>
			</div>
        </div>
        
        <div class="statistics w33 mr10 anchor">
            <div class="title">主播数据</div>
            <div class="bd">

                <div class="data_list">
                    <ul>
                        <li>
                            <div class="data_list_left">主播总数</div>
                            <div class="data_list_right">{:number_format($anchor['anchor_total'])}位</div>
                        </li>
                        <li>
                            <div class="data_list_left">在线主播</div>
                            <div class="data_list_right">{:number_format($anchor['anchor_online'])}位</div>
                        </li>
                        <li>
                            <div class="data_list_left">直播次数</div>
                            <div class="data_list_right"><span id="anchor_live_today">{$anchor['anchor_live_today']}</span>次</div>
                        </li>
                        <li>
                            <div class="data_list_left">直播时长</div>
                            <div class="data_list_right"><span id="anchor_live_long_today">{$anchor['anchor_live_long_today']}</span>分钟</div>
                        </li>
                        <li class="last">
                            <div class="data_list_left">总直播时长</div>
                            <div class="data_list_right">{$anchor['anchor_live_long_total']}分钟</div>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="statistics w33 mr10 votestotal">
            <div class="title">网红榜</div>
            <div class="bd">
                <div class="list">
                    <ul>
                        <volist name="votes_list" id="v">
                        <li>
                            <img class="list_order" src="__STATIC__/images/{$i}.png">
                            <img class="list_avatar" src="{$v['avatar']}">
                            <div class="list_info">
                                <p class="list_name">{$v['user_nicename']}</p>
                                <p>累计收益<span>{:number_format($v['votestotal'])}</span>{$config['name_votes']}</p>
                            </div>
                        </li>
                        </volist>
                    </ul>
                </div>
            </div>
        </div>
        <div class="statistics w33 rich">
            <div class="title">富豪榜</div>
            <div class="bd">
                <div class="list">
                    <ul>
                        <volist name="rich_list" id="v">
                        <li>
                            <img class="list_order" src="__STATIC__/images/{$i}.png">
                            <img class="list_avatar" src="{$v['avatar']}">
                            <div class="list_info">
                                <p class="list_name">{$v['user_nicename']}</p>
                                <p>累计送出<span>{:number_format($v['consumption'])}<span>{$config['name_coin']}</p>
                            </div>
                        </li>
                        </volist>
                    </ul>
                </div>
            </div>
        </div>

        <div class="statistics cash">
            <div class="title">提现</div>
            <div class="bd">

                <div class="cash_list clear">
                    <ul>
                        <li>
                            <div class="cash_list_t">申请提现金额</div>
                            <div class="cash_list_m"><span id="cash_apply">{$cashinfo['cash_apply']}</span> 元</div>
                            <div class="cash_list_h">
                                <!-- <a>查看列表</a> -->
                            </div>
                        </li>
                        <li>
                            <div class="cash_list_t">已通过金额</div>
                            <div class="cash_list_m"><span id="cash_adopt">{$cashinfo['cash_adopt']}</span> 元</div>
                            <div class="cash_list_h">
                                <!-- <a>查看列表</a> -->
                            </div>
                        </li>
                        <li>
                            <div class="cash_list_t">主播提现数量</div>
                            <div class="cash_list_m"><span id="cash_anchor">{$cashinfo['cash_anchor']}</span> 位</div>
                            <div class="cash_list_h">
                                <!-- <a>查看列表</a> -->
                            </div>
                        </li>
                        <li class="last">
                            <div class="cash_list_t">总提现金额</div>
                            <div class="cash_list_m">{$cash_total} 元</div>
                            <div class="cash_list_h"></div>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
	<script src="__STATIC__/js/admin.js"></script>
	<script src="__STATIC__/js/echarts/echarts.min.js"></script>
    <script>
        var users_total='{$users_total}';

        var data_source={$data_sourcej};
        var data_charge={$data_chargej};
        var data_type={$data_typej};
    </script>
    <script src="__STATIC__/js/admin_index.js"></script>
</body>
</html>